<template>
  <div>
    <publicPageVue :json-obj="pageSetting" name="TimerLog" :tab-list="tabList" :tables="tables" />
  </div>
</template>

<script>
  import { translateTitle } from '@/utils/i18n'
  import { Mixin } from '@/common/minxin/Mixin'
  import { GFCD } from '@/utils/utils'
  import publicPageVue from '../../components/publicPage.vue'
  import TimerLog from '../../components/json/TimerLog'
  export default {
    name: 'TimerLog',
    components: { publicPageVue },
    mixins: [Mixin],
    data() {
      return {
        // 选项卡列表
        tabList: [
          { name: 'first', title: translateTitle('Dams.ApplicationInterface.请求消息') },
          { name: 'second', title: translateTitle('Dams.ApplicationInterface.响应消息') },
          { name: 'thrid', title: translateTitle('Dams.ApplicationInterface.异常消息') },
        ],
        tables: {
          tableList: [],
          count: 0,
          pageSize: 150,
          limit: 1,
          name: 'TimerLog',
          operation: true,
        },
        configSetting: {},
        pageSetting: {
          search: {
            form: {
              field: [],
            },
          },
        },
      }
    },
    created() {
      this.init()
    },
    methods: {
      translateTitle,
      init() {
        this.configSetting = GFCD('dams')
        // this.nowJsonData().then((data) => {
        this.pageSetting = TimerLog
        // })
      },
    },
  }
</script>

<style lang="scss" scoped></style>
